bugfixes; driver tests F1 measure