Test client finally runs correctly. Had to make sure gf-client.jar and appserv-rt.jar versions match glassfish version (3.1.2).