Introduction to function unit test