Added more methods and rspec dependency