Generate rspec tests for submissions