Added more tests for redundant final modifier