Added new functions to the API and updated test case for blinking LED