better test for ls