unit tests for the xbe loader