add test file for samples/http