group tests by environment rather than domain
Merge branch 'bug-867421' of github.com:mikehenrty/js-test-agent into bug-867421