test office submission, and test an invalid submission