tests: Add a .test suffix

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Add an enum module

Make the token/enum feature use that.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
token: Fix wrong references

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>