added lib and rspec directories
added one more test for building a hash