Add test case to verify --log-type option specified.