refactor tests to Order model