completed fixes for rspec tests (sans Transactions.find_all_by_results)