keypad-arduino

We have a 4x3 matrix keypad which we need to interface with our arduino 328.Is there any specific code available that can just test whether our keypad is properly interfaced with the board or not.

thanks in advance

http://playground.arduino.cc/code/Keypad#.UxVv7eDT9SU