tests: add tests for types