Add more unit tests to TransactionSign [RIPD-480]