TE_LOGLEVEL: add tests for all loglevels