changed specs to deal with voting
added some factories for rspec testing, added more rspec test