improve config test