Implemented some tests