add factories to rating spec