adds window reference test

tidied test definitions