Implement some unit testing, on stuff like files listing, path computation ... First we need to list what test can be done.