Integrating pull request feedbacks from bschmid

Cherry-pick of commit 293a14d8bc9eb8e461e8eb13f46045d6363ecc78
Fixing minor issues

cherry pick of commit b980eef65
Create BoxShadowTest.java

GUI test for feature BoxShadow
Fixing some minor details...