Added pubsub tests. Marked out test tha are currently broken.