Topics WD  to check whether any branches were found while topic creation.
Updated custom exceptions to extend AssertionError.

It seems that TestNG recognizes any exception that doesn't extend
AssertionError as the ones that break test (not fail them) and shows them red
in Jenkins (instead of yellow).