This commit also includes a test to ensure that single stepping works, since continue, kill, detach, and single step all share code.