Add Unit Test for WindowDataLayer

This PR provides a unit test for WindowDataLayer.

The purpose of this unit test is to protect against issues while the data layer design is improved (such as #1125).
These need to be relative paths so that the tests work in any installation.