KIJIREPO-56. Cleanup test resource leaks

issue: https://jira.kiji.org/browse/KIJIREPO-56
review: https://review.kiji.org/r/1863