add export test framework and fix text align