test cases for [final] handling