Adding tests for SmartStoreInspectorActivity + small changes to make the...

... activity easier to test