Added unit tests for Pad
Removed sys.exit from initialize; now throws IOError instead
Merge branch 'unittest' into develop