added a warning test, but it doesn't work!