test layered window