Unit tests and simple search

Added the first unit test for the Party model.
Implemented a simple search form.