ECDR-37: Added unit test for invalid entry.
Also formatted response transformer code using ECDR formatter.