add tests for items controller