tests: added (rather stupid) duplicate type test