Refactored some tests and added a future test for changing transaction types.