isEdible test for constructor