Make 'cursor inside defn' step definition more precise