Use helper reject function for creating rejected promises, add reject tests and test for updateOrder