Test MashupPlatform.prefs.registerCallback works as expected
Fix MashupPlatform.prefs.registerCallback behaviour (only notify changed preferences)