add test_direct and test_enc to tests
Merge pull request #88 from Hudon/more-tests

add test_direct and test_enc to tests