Adds spec to check for whitespace preceding section

Also apparently some whitespace removal in a few section files...