Removed userprefs files, and removed uneeded factory method.
Added tests for StyleProxy