* add test scope.
* fix unit test.