adds $ method to driver
moves some driver tests to unittests