Fixing bug where set() wasn't respecting the default.shared setting. Updating UT's