Adding tests for file-flash (left behind in previous commit)