redesign test framework; TestWindow needs implementation