Added an interface for the tests