You can use `assert_same_elements` instead of manually casting both arguments to sets.