custom rating unit tests