Add integration tests for shell
Wrote these when debugging something else...
Change-Id: Ic841170ce42eafc91d969ade6629895c035e4235