add unit test for adding subscription
add code for adding subscriptions
add unit test for adding subscription
add code for adding subscriptions
resolved merge conflict
resolved merge conflict