Adds a config test before restarting apache.