Add guard and spork for automatic testing