Test isSubmitted()