Created a isolated adapter for tests and some tests routines