added path rspec tests