module and rspec
test cases