shed: adding tests for main library functions