UTs for PMA_server_privileges
refactor the code style
Merge pull request #697 from xmujay/0915_UT_server_privileges

more UTs for PMA_server_privileges