1. Extension API tests

Testing directives:

from function: Foofrom class: Bar