Removed irrelevant exception raising and matching test. Added more funcional tests.