Resolves #56. Adds test of fieldset and legend