Updated tests and stats

Stats now shows only unique lines