GWTII-223: refactored gwt test as a normal unit test + named layer fix
for version 1.1.1