correcting tests for hap