Added Unit test examples for the API Module