[python] improve error msg for missing/wrong args in reconfigure and initialize commands
This MR improves the error message thrown if the reconfigure or initialize commands are missing the right type of argument.
Additionally, more tests establish the behavior of the Controller w.r.t. reconfigure.