Cleans some tests.
Use join to avoid traling comma and useless for loop.