Add CLI tests for pmg in circle.
Fix alignment for prettytable in pmg.