* emotion_test: Fix segv due to wrong init/shutdown.