issue #197, unit test failures in Java build

Turned out to be two causes:
(1) some recently-added test cases assume that unrecognized devices are called "Other" - but in the Java version of this project, DeviceParser has instead been returning a default value of null. I wasn't sure here if we should be fixing those test cases, or fixing the code. So anyway I flipped a coin, and decided to fix the code.
(2) some people who recently updated regexes.yaml did not remember to update the test cases which their changes broke. Fixed.