[dev]add unit test