Additional general tests and fixes for pointers.