Add test for returning tuple in server
Fix examples formatting issues and make them pep8 compliant