started test cases for flash.py