Fix exec of test