Fixed Darwin input helper lookup table and methods.
Added a test for the Darwin input helper.