fixing a test that's broken after adding more defensive programming