Ported readme_samples.js to Jasmine.
Added a new test to sproxy_spec.js.