Improved test tasks, code coverage

Improved test tasks
Refractored code duplication in api-translate
Configured code coverage report