add factory girls to spec

This is just an introduction of spec and gem. It is not implemented in all the tests