fixed cfg test