Unit tests for Solve class