fixes to unit tests and restoring xRequest and xTask to be part of the schema

user-image-test.js moved to archive - its a work in progress, should
not be run yet.
Also added some logging messages to help debug...