add first api tests