adding lib and tests directories