added deref and string methods to pointer class

now testing that the string parameters are
correct in function_test