testing error message if config is wrong.