testing script for scaffolding api handlers