Fix Travis test failures in WindowTest.

Work around static state in WindowTest.

Specify a random test execution order in the pom file.