fixed hunspell test to clean up properly