fixing subscriber test code