Adds CLI tests