add MirrorError and MirrordRunningError
import logging in setupLogger()
add test code for MirrorTrigger