Fix tests and verify ratio lines/roads

fixes #380 and fixes tests broken by recent commits which weren't caught because Travis doesn't test Scala.
@flibbertigibbet - I think it's just an ambiguous comment. The 472.8 figure is for transit length, not road length.