fixes testMain test, deletes every classpath entry which contains "test-classes"