test for interfaces