separating unit and integration tests