updated AdhocTest example