Doc updates and add some test cases for compiled headers