move dumpfile into misc/
add basic test stuff