fixed rspec testing. still on chap 6