Copy digits passed to constructor, add tests