added DetailedResponse and unit tests