working tests for submission_spec.rb