Some unit and integration tests written