mcsolver fix

- Fixed seeds inadvertently being reused.
- Added test to verify seeds not being reused.