Fix tests

@aasmith - Two tests were failing. It looks like one of the transactions was added to the wrong file.

I also tried getting rid of some Ruby warnings. 

cc @BMorearty