dry-tests; mathematica scripts cleaned