Fix testcase
Merge pull request #595 from mitsuhiko/reloader_cleanup

Fix remaining issues with reloader