Simple and incomplete search implementation.
More tests for search.
Make backward search position cursor at the first character of match region.
Tests for counted search.