#4137 Fix end to end test