Add cli tests for shares