Correcting setFlow test

Because of the change made into the credentials, the saveCredentials needs to be defined for the setFLow to work