Added tests to Review model.
Added error_handler to convert PHP errors to Exceptions.