Added test if entry already exists