added white-box tests for ShadowBase