Group tests by class

It guarantees that all tests inside the test class will be executed in
sigle thread. It makes us able to group some tests that uses same
external resource into one tests execution thread to avoid races.
Example: tests that are use external MySQL/PostgreSQL.

Change-Id: I67f10d20ea84caa9335f909fb5f30da4b4e7f1ca
Merge "Group tests by class"