add test for pointer types with units