modify test.html and ddk2-control-infrastructure-tests.js

Modify title in test.html.
Add log validation in ddk2-control-infrastructure-tests.js
Merge pull request #1 from rssiy/master

Add log/variable validation in test javascript file