Add a test for the check of non-existent paths