refactor tests after config structure change