User:Boud/sandbox/inclusiontestmain

Bug solved. The bug was on an included page that I was not looking at.

Debug page
inclusion of test1:

inclusion of test2:

hope that's OK.