added and exposed a mock daemon runner