Added some more tests relating to attaching data to a window.