creat a fake test case that raises a ValueError when JSON file is missing

This is the changes for #9