added tests for searching functionality
fixed towne search bug