add guard and spork for tests