Fix some wonky tests around stringify

@wedaly or @jzoldak: can one of you two review this?