Redo param init

changed the encoder tests over to the new Parameters syntax