getHandler find closes match. Not only exact one. fix. tests