testing is working both local and https with a few scenarios