add first test of api