Made base class for sqlite using tests
Typo in test
Fixed 2 bugs found in filter known code