added filteredTokenIterator tests
fixed line number bug, added compiler test