Fixed failing destroy provider application test, made destroy action to respond with deleted application