Court: Sex offender should not be subject to penile test