Pad

Added new pad instruction to match Numpy 1.7.
put the try inside the test method.