refactor test for order model and added test for item controller