Add more code for web api testing