Add tests for const and pointer AAs
Merge pull request #3245 from yebblies/aatests

Add tests for const and pointer AAs