ticket:18 added tests for api
Merge branch 't18_api_testing'