added test cases for story 8009 on flash security bug