Fix #174 ptr() panic on uintptr
Add test for ptr()
Merge pull request #175 from simleb/master

Fix #174 ptr() panic on uintptr