Added tests fonctionality