[test] Rename test to configuration.
[test] Added more tests for cfg generation.