add simple script for running reference API test