Added new test, to test an excpetion that must be thrown