fixing errors in a test during dojoBuild