Ok, will try to think of something else. The purpose of this program is to serve out a directory with a couple of really useful and often use options (-p: port, -x: the prefix.) So it would be difficult to test the side effect in a straight forward manner.