Added more unit tests for BIntgers.
Added tests for BStrings.
Split up old tests into smaller units. Added tests for encoding.