Add test for flash read