implemented specification tests for responses