Added Self-host sample. Added additional Web API tests.