added wetlabs par function and test function

@cwingard Ready for review and merge
@spearce Ready for review and merge