fix the undefined error in UT
Merge pull request #471 from adamgsoc2013/UT_pluginss

fix the undefined error in UT
Fix unit test failures