Added tests for heading