added testing of preferences setting/getting

I thought that adding the capability to quickly test if setting and getting extension-specific preferences are working as intended would be useful.  If this isn't the direction you had intended for the test tool, that's cool.