[master] Base class for unit tests

Moved apply sort to DataView from the symfony bundle