[test] automatic test case for console.log
[test] fix test case for console.log
Merge pull request #849 from kingFighter/tests

[test] automatic test case for console.log