tests for indented and compressed