Update scan.py

add comment for test method....