Enabling rspec and adding tests