added test for getInventory()-method to ServiceTest