Unit test case issue fixing in YUI