api tests updated