added test for different config enviroment.