add struct to bytes test