Create a selftest for enumfset directory.

Code comes from Lockwood Morris.