Added DiceFactory test