PHP MySQL testing facility