change method visibility
add test suite for whole library