Corrected query string in  test_install_database