Fix deploy tests