2cde74f Complete test cases for validateRequest.