Test for configdrive.

Added tests for module configdrive.py