Window class added with tests.