Fixed tests with pin edit and delete