delete and remove array item methods for mongo, functional tests