Added test for more than one type.