refactor to use subject and its in rspec
more samples