layered window testcase