add tests for set
add tests for set