add some basic specs

Those specs are not enough, but they are a reasonable illustration of
what can be done.