Added rspec testing unit