test interface instead of subclass from Interface