[tests] add aeson tests, some test fixes

4 jobs for 341-dev-websockets in 26 minutes and 54 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Cabal
passed #14243
cabal

00:21:23

 
  Stack
failed #14244
stack

00:05:31

 
  Bench
skipped #14245
allowed to fail manual
bench
 
  Test
skipped #14246
test
 
Name Stage Failure
failed
stack Stack
$ nix-shell --run "stack build --no-terminal --fast --dry-run"
these 2 paths will be fetched (0.93 MiB download, 3.14 MiB unpacked):
/nix/store/9hgvpbsb0lpn7dcjypqgd30gnmz10yir-nanomsg-1.1.5
/nix/store/25jmqvqk55gisaszx125pg1bpcrs12c0-websocat-1.12.0
copying path '/nix/store/9hgvpbsb0lpn7dcjypqgd30gnmz10yir-nanomsg-1.1.5' from 'https://cache.nixos.org'...
copying path '/nix/store/25jmqvqk55gisaszx125pg1bpcrs12c0-websocat-1.12.0' from 'https://cache.nixos.org'...
/tmp/nix-shell-13-0/rc: line 3: stack: command not found
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1