Fix deployment tests