fixed a bunch of tests
Merge pull request #1 from ekennelly/test_coverage

fixed a bunch of tests