fix wrong test with a hack