Add options 'ignoreFirstHeader' and 'maxDepth'
Update tests