added test for compound types