Implemented some tests.