Test.html bug fix.

Did some playing with the test.html last time but i discovered a bug.
The bug is now fixed and this can be implemented in the analyser module.