Update unit tests to reflect changes to digitize.js