Added a very basic test.
Started adding basic io tests.