refactoring: avoid filling sdcard during tests