simple script to run tests and diff against ref implementation