Update diabetic factory
Add 3 specs for preference controller spec
all green
Fix preference controller
Add 2 more specs to preference controller test
all green
Complete controller spec for preferences
all green