Tests of Independence in parametric Models With Applications and Illustrations