Reinsert print statements in test_set_optic

Removal was a mistake, it's nice to have this for debugging.
Merge branch 'debug' into cpymad-1.0