couple of bugfixes, creating standard test methods for http/api views
couple of bugfixes, creating standard test methods for http/api views

guidow/pyfarm-agent,pyfarm/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent