Corrected TestDatabase