Database leak: Provided constructor for tests