Bug 1042048 - Allow resetting Find My Device's state from the test app.

When will window.close() be called in this context ?