CORE-4876: Created unit test for SearchFieldDecorator
Unit test has full coverage of primary methods and inner classes (not
counting coverage of 'support' methods, like ensureHandlers() etc).