updating preference tests/factory (in progress)