Update tests to pass with latest memory adapter