JdbcSessionImpl fixed batch unregister for new BatchKey, added more tests