add io tests, several utils