added testing code for reviews