As I promised couple more fixes in testSpec.js, now able to mock response from server, and other things