Testing get factory