add test for subList