Fix test script to work under python 2
Build each test in its own directory. When running tests this will
ensure that the output is always in ``gvki-0`` because we delete
old folders before running tests.
Taught test script to check that

- The expected gvki-0 directory exists
- The expected json file exists
- At least one kernel was recorded