update the test framework to support including files and attaching to window objects