utils: adjust test code

- import gocheck with name "C"
- add test file under testdata for some test cases
- check result in right way and disable spare output
- remove override_runner and its test code

Change-Id: Ibab1314ee4b0ac65e0df65bd8e8369516df4baea