add rspec for helper