Added test file to Transaction.java