Add before and after functions to search test.

- Insert and delete dummy data for tests.
Develop tests for findOne.

- Remove dummy data after tests (not being inserted yet).