Set random seed value to ensure tests always pass

Fix for the other random test failures as mentioned in #418.