Added new tests for DwApiOpen.