rpec tests now passing