Add valid factory checks to model specs
Add piece presence validation to Version
Clean code style in factories
Remove spec with duplicate functionality
Rename an ApplicationController helper method