SubscriberValidator Tests

Added Subscriber Validator tests
Fixed found bug in validator
Refactored Validator to make unitTesting friendly