modified test_helper for deployment