added unit test for function
0.10.6