Modify modifiers.

- Add unit tests.

Add some test cases.