adding test_api into build