10 use rspec for testing

refactoring pathnames.
added rspec.