Add test for windows opened by the "target" attribute.

These windows have a handle of "" (the empty string).