More input/output/test stuff.