#11: fix a bug that cache dir should be mkdir -p first
#1: update test cases; fix the unapproching of google image on travis-ci
#11: remove temp file after testing; add test fixtures