Fixes resource /{username}/ontology/addItemInLocationObject and adds a
test case to verify the correct functionality of the resource.