Writing tests for review model