Finishing tests in resource utils, better way of handling sources required (having to close streams with try/catch/finally blocks isn't scala-ish code...)