Fix test on types