Java Laboratory / tests