Bug fixes
Add test code for http game