enhanced api tests