test generic iface declaration