Added first test. Pan tool - fixed problem