wordcount works on driver
added test for driver