building layout of test page