Moving tests from tools/io/ to tests/io/ and adding CTest calls.