Added simple test for pub_sub controller.