Added tests for drivers and corrected errors