Added comprehensive Unit Testing for DE. #25
Detected bug in DE while running multiple unit test cases. #39