Allowing NSData objects to be encoded.
Renaming existing basic tests.
Using a macro to simplify the test code and adding some expected encodings.
Sorting dictionary keys to match the spec.
Adding some test cases from https://github.com/s3rvac/cpp-bencoding/
Enforcing requirement that dictionary keys be strings.
Enforcing integer/numeric validity.