fix wrong exec calls in test