Fix address length testing, fixes #126.