Added web api unit tests