added test for selection API attributes.