Tests for smart stepping limit bug

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>