add a test for list types.