fixes, end-to-end tests

I found using a specific prefix may be clearer and manageable. Also, if someone did not specify a dedicated directory, DeepDive will not cause dangerous trouble as before (rm -rf ...)