Support automatic test with guard and spork