add unit test cases for PMA_select_server