Tests fixed.
Tests for MultiShadowResource added.