Moved TestWindow tests to a separate files. All existing tests are passing.