add test and capture io helper

TEST!!

TEST!!

HAHAHAHAHA!!!