configPath option: updated readme, error message and added test for the throw scenario.