Add improved flash support test.
Merge pull request #13 from incuna/better-flash-test

Add improved flash support test.