complete unit test for future library