add test also for exists() method