created test for CloseDriver