add page control test func