Digit tests

Started work on some more tests for Digit