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

These windows have a handle of "" (the empty string).

It might be nice in the future to name these windows after the value of the target attribute, though that would be a breaking change.