added some basic testing specs
added rspec testing for votes