new test with exception