Gets the two test cases mostly working; still gotta wire into `npm test` and put coverage in place.