fixing tests: created mock for url.parameterExists and io.loadFile
Changing order of methods