safe test on :collection attr