moved window/class assertions to a seperate test