cleaned up UnloadAll and added tests
Merge pull request #70 from timbokopter/feature/cleanup_UnloadAll

cleaned up UnloadAll and added tests