UnitTest of exceptions and other various testing