Similar setObject tests