Bug fix when using several tests on the same page