Better test for heading