CFY-1500 add unit test for process_attributes