Added response validation to Query.
Tests for state filtered merged with tests for state declined.
Callback definition properties changed to match Query style.
Removed unnecessary code.