fix ptr-arith test and add a couple more