handle bad json for tests property