testing exist functionalities