testing valid types