Added more unit tests to BEncoding. Moved Expect to an extension method. Refactored Decode.