refactored test_it_stores_transactions_from_an_array
refactored a lil bit