Fix error message on submitting orders of wrong type, remove old tests