tests: Added possibility to build test.cpp withous elliptics sources