Refactor _spec file
Make sure clear memory is clearing by updating the memory value