add test cases and fixtures
fixes #8: fix the error message of argv
update Makefile for travis-ci