Added check for valid constructor args to SubscriptionDefinition as well as a check on topic.length. Fixes #48