Adding unit test for interface