upgraded to web api 2.1 and added tests

 - added tests (there were none)
 - upgraded to Web API 2.1