added rpec test