Test detecting throwing methods for code sinking.