Optimize test with guard and spork