Add test for Set value object and fix bug causing no value to be passed.