fix initial api tests