Added modem object and tests to API wrapper.