@jansepar What do you think about making two assertions here? Once after each run of `insertLoaderIntoHTMLString`? That way you can ensure that each call does what you think it does.