Added unit tests for sparse regression, BestFirstSearch and DepthFirstSearch