added BDict encode and BInt decode tests