Added readibility of expected exceptions and also written implementation for validating decimal whole and fractional parts.