configurable token header
fixed tests