test set with objects too