Bugfix for issue #389 + randomTestCreater

one-liner - no {}s.