Adding test file for api.