test with a real exception