SLING-4056, support adapters on Sling Model Factory

also additional test cases for the factory were provided