Fix factory and spec

I merged 175_database_scaffolding and the result of specs became failed.
It worked on ```rake populate:mock``` in previous factory, but it didn't work on specs.
So I fixed and now the factory works on both cases.