add small test case for -c option