Added rspec tests final