Aded tests on TextboxElementHandler.Matches and change exception to be more descriptive