Added web api unit test.