Add mockInterface for test