These are quite... simple, and cover little, but it's more than nothing! While there, enable tests in the Nix package, so they're run in CI too. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>