Task #31: XTuple testing WIP + fixes/enhancements