fix test for functional version of mem-op