Tests: added factory_boy as a requirement

Migrating existing fixtures to use Factory Boy models is #142.
ScoreLog: refactored condition, added tests
Cleanup: PEP8 fixes
ScoreLog: refactored condition, added tests