test for WorkPageCtrl