Thanks for your patience @fblundun! I got there in the end.
The problem was that the getClass.getResource seems very sensitive to the package
that the _test_ belongs to. So I matched up the test and test resource folder
structure.