Support for testing hammerjs