added local testing framework