add tests for find_one when it returns None

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
find_one returns None on OperationalError and IndexError