WienerTrainer consolidation (add unit test, improve python bindings)