Add FieldSearchTest and minor changes

Added a JUnit test for FieldSearch.
Properly initialized the ArrayList in
FieldSearch and Database to correct an
error.
In FieldSearch, set the findEquals method
and ArrayList to static.