Fixed rebuild on missing files test