test for none case