Add tests for types.hpp.
Add a missing #include.