add some tests for driver