Added doctests to main of test_hexview