Test exception filter