Use String[] for types and add test for supported types