Added x-y movement to htmlTest