added path rspec tests
added path rspec tests