kiji-scoring: SCORE-165. Fix resource leaks in tests

issue: https://jira.kiji.org/browse/SCORE-165
review: https://review.kiji.org/r/1686
commit: https://github.com/kijiproject/kiji-scoring/commit/ae76277d538bb0725b305594652aba241bfa99f9