unit tests for blob & JSON responses