Test refactorings, small code cleanups.

Move some tests to test-instrument, add simple sanity checking tests.
Provide a default filename to `instrument` so that it's easier to use from repl
Merge pull request #12 from JacekLach/refactor-tests

Test refactorings, small code cleanups.