added test case for $interface