Enhance error message to represent failed API and fix issue in test case
Setting image height and width in descriptor object.
using syntax ::
var descriptor = webcl.getSupportedImagesFormat(...);
descriptor = { "width":100, "height": 100, "etc": descriptor.abc };