Fixed UT for class NumberGenerator