Fix test case execution