teardown() and setup() methods have been renamed to comply pylint
conventions.

The two last tests have been implemented and are currently failing.
Removed previous function wait_until_file_not_used() that was duplicated.
Removed unused variable lista.