Fix class names in gallery_database_test_case.php