Added initial tests for io module