added sparse testing, some features