modify api tests