Fixed Exceptions and built exceptions tests