Introduce SpecContext, replicate search issue

This commit refactors the test code ever so slightly to add a proper
type called `SpecContext` rather than anonymous pairs to carry around
the spec context/data. It also replicates the search problem around #415
via a test.
4 jobs for adinapoli/issue-415 in 49 minutes and 48 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Cabal
passed #15441
cabal

00:19:16

 
  Stack
passed #15442
stack

00:09:02

 
  Bench
manual #15443
allowed to fail manual
bench
 
  Test
failed #15444
test

00:21:29

 
Name Stage Failure
failed
test Test
calling stop notifications - done
Test suite garg-test-hspec: FAIL
Test suite logged to:
/builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.4.8/gargantext-0.0.7.3.2/t/garg-test-hspec/opt/test/gargantext-0.0.7.3.2-garg-test-hspec.log
0 of 1 test suites (0 of 1 test cases) passed.
Error: cabal: Tests failed for test:garg-test-hspec from gargantext-0.0.7.3.2.

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1