Adding API wrapper and MXUnit-based unit test