Common base class for unit tests shared between GWT and normal Java code