Add a request class and testcases.