mocking submit new assignment works