Added singleton annotation to LocalPreferenceDaoImpl. Removed not needed test