fixed database tests signatures