adding test function file
Merge pull request #6 from alfy32/patch-2

adding test function file