add unit test for in