Fixed config tests and static variable issue

1. Removed checkIsHttps()
2. Used settings['is_https'] instead of static is_https in isHttps()
3. Added type checking (===) in the set function
4. Fixed relevant tests after the above changes