Fixing the spec test sfor the refreshonly param