Fix Snapshot unit testcase.
Fix StoragePool unit testcase.
UserContext: Threadsafe singleton, inject using ComponentContext, spring di failsafe

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>