Paramdef completion on white space element fixed. Tests added.