updated test with rating tdd