Add a test for solverFormat().
Summary: Make it part of the base class to facilitate testing.
Test Plan: run "make test" and test base functionality.
Reviewers: KDE Games, aacid
Reviewed By: aacid
Subscribers: aacid, yurchor, kde-games-devel
Differential Revision: https://phabricator.kde.org/D18875