Added canValidateMethodReturnValue test