added driver tests

fixed some ended night issues
added initial driver test