Fixed bug in digits and more coverage