add the test of a non null order in the $event object in createManual function