Testing environment for optimization and linear algebra solvers