added testing and dist