updated test and contrib docs