add export test framework and fix text align

Issue #75 
Issue #76