Added unit test for list types and fixed adding of list properties