Add unit test when run from the command line and some comments.
Basic features to read a PIE 2.
Authored by: stivosaurus 2011-11-21
Parent: [r618]
Child: [r620]