Added more sophisticated test. Doesn’t seem to work right.
Added becomeFirstResponder method call. Minor cleanup.