implemented some basic rspec testing stuff - finally :)