Corrected spelling of "win" in unit tests.Fixed browser unit test to
throw errors when an expected property is simply not set.
Fixed unit tests.