Small error fixes and error reporting for instance configuration change.
Adding instance configuration change tests.