Resolved loading resources during tests and moved the bencoding unit test to the metainfo test.