Add test to make sure that the FormCounter is reset when a DeixtoAgentWindow child is closed.