Extract and refactor native type tests