updated tests with interface