small change to katt_validate_type to extract Unexpected; readded tests