Test str is unicodes and byt is bytes.