Custom types tests