started creating tests for api