Unit test for indentation cycle