Implement advanced config with guard and spork for testing purposes