cope with four digit ids
update the tests to reflect changes made
test edge cases