Fix OpenMM *System creation. Add a test for it.