searching - selecting record name in declaration searches for record field
http://www.assembla.com/spaces/erlide/tickets/1200
Added test for "searching - selecting record name in declaration searches for record field"