Added Tests for HeroCard and TimePeriod

Made small tests for hero_card and time_period specs. Added configuration to rails helper to use Factory Girl without calling Factory Girl explicitly every time. @beatrixbetsycarroll @dm-istomin