added Test for ShadowCalculation in Java