added test for final method