Makes new -setProperty flag work with JUnit.

Change-Id: I768bfa4365163e925685ce97cba4206586bf7cbc
Review-Link: https://gwt-review.googlesource.com/#/c/10890/