Added a bunch of IOtests, and some crypto tests.