added tests for the submission model in submission_spec.rb