added a test runner script and some validations it uncovered