add basic vhnd tests and fix an issue with multiple forms in the window