Added factories and spec tests
Added factories and spec tests
Refactored factory
Refactored factory
Controlling who can post tests passing