[WIP] added tests
added test docstring
Merge pull request #303 from ar4s/fix/247-fields-contains

Tests for searching