Fix XBE loading and Yara tests