Fix for issue #74 parameters reversed in GenerateTests