Uts for PMA_server_privileges
Merge pull request #588 from xmujay/server_privileges_UT

Uts for PMA_server_privileges and fix UT error