fix up BMJ and Sage tests