test plan and constructer