ready for testing of xshok_load_config function