Add sample in HttpCompileTest about resources