Updated memory_device tests to use mounted root filesystem (hopefully it doesn't break my machine again...)