added test cases for static and final modifiers