REST-141. Resource leak in test from REST-98

issue: https://jira.kiji.org/browse/REST-141
review: https://review.kiji.org/r/1944