Fixed hmc test