[#1117] Add mock and factory-boy to dev-requirements.txt