test: modify taking pic process