Fix search mechanisms for tags and text

Also add corresponding tests.
Completely remove helpers file
Reorder tests
Fix README example
Don't disconnect where it is not connected
Load context by python dict in addition to file loading
Implement config tests