Added tests for pointers and references. #99