Add log/variable validation in test javascript file

Modify title in test.html.
Add log validation in ddk2-control-infrastructure-tests.js