Add date filter tests
Add text search test

- Compare datetime objects instead of datetime strings
- Clean entry database before each test