Return null from moveTillCharacter if nothing is found

(so that if a deletion operation is active but no match was found, nothing gets deleted).
Also, add a unit test for moveTillCharacter.