adds sorted tests