added legacy endpoint redirected to testing environmnet