added flash_status command and tests