test: Move a bunch of const tests to types category.