Added CLI tests.