test with moving heading