Fix running test files directly and add test coverage.
Add testing data and more acceptance tests.
Merge pull request #233 from dnephin/fix_test_running_from_file

Fix running test files directly and add test coverage