changed set() syntax to accept a hash list of properties to change, fixed tests