Added unit tests for the InputErrors type