tests: simplify the directory structure

With qmake, it was more or less required to have an extra directory for each
unit test. This is no longer necessary with cmake, so this change flattens the
structure a bit.

REVIEW: 112531