ECDR-37: Added check for valid entries.
ECDR-37: Added unit test for invalid entry.
Also formatted response transformer code using ECDR formatter.
Merge pull request #15 from mrmateo/ecdr37

ECDR-37: Added check for valid entries.