Addet tests for io module. Rest of server is currently broken.
Added a few tests for shadowdb.
Merge branch 'tests' into develop