Add test for memory mode operation for memory mode-specific routine