Add tests for clean method.
Make clean a bit cleaner
v3.0.1