test/mock: added test for findById
mock: fixed undefined conditions in queries
mock: lint
test/mock: added test for findById with not found id

this officially makes the mock version of findById more thoroughly tested than
the actual one (at least in terms of semantics)
Merge pull request #14 from Clever/fix-mock-findbyid

Fixed mock queries to work with conditions