test to catch a possible error