Small changes to the gloriapi and a new test background.