[test] testing the onResponse proxy method