Fixed some tests
Merged with origin master
Fixed work selection bug in work.rb and work format bug in submissions consoles