Fixed stub for terminate test