Test for a factory that unsets values