More unit tests for StmAdapterImpl.