message  changed to , added a few tests to cover the input test errors