Add tests for ignore function.
Add tests for merge function.