implements proposed testing framework and example tests in deploy_tests