Added tests for subscribe and configuration