Add check functions to Address

Also, refactor test to pass the linter