Tests refactor

spark-api tests check that request is made correctly.

spark tests verify it behaves as expected (callback, event, promise)