Clean up components/common/test.

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.