Added various unit tests for resources pack, plus minor changes in README.