fix tests detection (add sofa as dependency for self testing)