Fix audit issues in test