Add a test for nix-store --dump-db / --load-db
Test nix-store --optimise
Test nix-store -l
Test nix-store -q --roots
Test nix-store --switch-profile and more daemon actions
Test ~/.nix-defexpr
Test the -b and -s flags of nix-store -q
Test nix-env --set
Test nix-env --switch-generation
Remove unused function
Remove another unused function
And another one
Test executables in NARs
Test some more primops
Test trace and addErrorContext