Unit Test For Private Function