Window security tests