add api tests for items