Tartaros: Fixed duplicate test issue in database