I find it difficult to reproduce your problem with the information given.Could you please provide a minimal reproducible example (i.e. giving the content of test3.html)?
Please also referr to this.