added factory girl and spec for rspec; added test for child model