Fixed always logged test commands
Creation of header extensions and L1/L2 tables were moved from __init__ to API