Updates to htseq and detest code