Add test for “new_type”.