Added test for pointers
Added type. Failing with nullptr yet