adding tests for config