fix UT error and add UT for PMA_server_privileges
Merge pull request #579 from xmujay/fixUT

fix UT error and add UT for PMA_server_privileges