Added unit tests for statements and transactions