fixed testing config file and removed unneeded code from cloudcode