Add NewPTR
Add test infrastructure
More reverse stuff