made tests for lists instead of strings