Refactor gold standard test