added some rspec test cases, more to come..