tests: Add test_shadow_sessions

Change-Id: I8f37a1c1f8fd025ddf5b4832879f78d641209bf1