Wrote spec to check that leading spaces are removed.