Fixes remove-event not emitting on folder-rename. Adds test-environment.