linting
check for unused imports
add basic digit tests