Fix HardLimitError raising by dummy motors

fixes #280
Fix exception type in regression test 209