Refactor validate with local file tests