problems with api tests