better testing around types