Clean up components/common/test. (rebased onto develop)



This is the same as gh-1414 but rebased onto develop.

----

This PR removes unused files from components/common/test and reorders the files used for testing depending on their size (thanks, @mtbc).

To test, verify that ``./build.py -f components/common/build.xml test`` doesn't fail.