Fix jobs tests