Base api tests