Added subscribe unit test.