Remove circ. refs when stringifying test modules