Did some more work on Foufun, adding some tests and getting the init
function working for some cases.