add test of values/pointers