remove test dependencies from lib dependencies