Updated look and added transaction tests to fix getStatement