Added WebAPI tests