added first i/o test
and the tests