test the none case in type method