Fixed a bug. lock_id is a string and not a number.
Added tests for stuck sustainer checking.