Changed the way to open a new window or tab in TransactionTokenTest. #20

Please review #20, and merge to 1.0.x branch.