Added test cases and improved simpleDE, DEtoRE