fixed test bus implementation, improved pubnub publish error handling