finish up and write test for customio
google test file for customio