Fortran primitive unit testin support.

Fortran test_search.f90 updated to reflect test cases from
test_search.c.