Add tests for Type