Implemented functional (API) tests