Added broadcast receiver test code