Unit testing item api