Added tests for InputOutput class